<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2016/1/24 0024
 * Time: 16:48
 */
//echo date_default_timezone_get();//查看时区
date_default_timezone_set('Asia/Shanghai');//设置时区

echo date('y-m-d H:i:s');